import React, { lazy, Suspense } from "react"
import { Routes, Route, Link, Outlet } from "react-router-dom";
// style={{"width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden"}}


class CodeIframe extends React.Component {
    render() {
        return (<iframe src={this.props.url}
            style={{ width: "100%", height: "500px" }}
            title="xenodochial-platform-q2m7jn"
            allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"
            sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
        ></iframe>)
    }

}

export default CodeIframe